package com.nine.pattern.factory.config_factory;

/**
 * @author nine
 * @version 1.0
 * @description TODO
 * @date 2024-07-01 23:30
 */
public class TestClient {

	public static void main(String[] args) {
		Coffee coffee = CoffeeFactory.createCoffee("latte");
		System.out.println(coffee.getName());

		Coffee coffee1 = CoffeeFactory.createCoffee("american");
		System.out.println(coffee1.getName());
	}

}
